﻿using System;
using UnityEngine;

// Token: 0x020001B7 RID: 439
public class CutAct_ColorFilter : CutAction
{
	// Token: 0x06000B68 RID: 2920 RVA: 0x00042F5C File Offset: 0x0004115C
	public CutAct_ColorFilter(CutScene cutScene) : base(cutScene, CUTACT.COLORFILTER)
	{
	}

	// Token: 0x06000B69 RID: 2921 RVA: 0x00042F68 File Offset: 0x00041168
	public CutAct_ColorFilter(CutScene cutScene, float time, Color color, float duration) : base(cutScene, CUTACT.COLORFILTER, time)
	{
		this.color = color;
		this.duration = duration;
		this.changeTimer = 0f;
	}

	// Token: 0x06000B6A RID: 2922 RVA: 0x00042F90 File Offset: 0x00041190
	public override object Clone()
	{
		return new CutAct_ColorFilter(this.cutScene);
	}

	// Token: 0x06000B6B RID: 2923 RVA: 0x00042FA0 File Offset: 0x000411A0
	public override void Load(TagText.Element element, int order)
	{
		base.Load(element, order);
		this.color = TagTextUtility.Load_Color(element, "color", 0);
	}

	// Token: 0x06000B6C RID: 2924 RVA: 0x00042FBC File Offset: 0x000411BC
	public override void Save(TagText.Element element)
	{
		base.Save(element);
		TagTextUtility.Save_Color(element, "color", this.color);
	}

	// Token: 0x04000BB0 RID: 2992
	public Color color;

	// Token: 0x04000BB1 RID: 2993
	public float duration;

	// Token: 0x04000BB2 RID: 2994
	protected float changeTimer;
}
